package com.zzq.service;

import com.zzq.domain.dto.SmileCouponDTO;
import com.zzq.domain.entity.SmileCoupon;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzq.domain.search.CouponSearchParamet;
import io.swagger.models.auth.In;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 小布
 * @since 2023-10-26
 */
public interface SmileCouponService extends IService<SmileCoupon> {
    public List<SmileCouponDTO> getCouponDTOList(CouponSearchParamet searchParamet);

    public SmileCouponDTO getCouponDTObyNo(String  couponNo);

    public SmileCoupon addCoupon(Long clientId,String clientNo,Long couponRuleId, Date expirationTime);

    public SmileCoupon updCouponStatus(String couponNo, String couponStatus);

    public Integer getCouponNum(Long clientId);
}
